<div id="header_top">
	<div id="top">
		<div class="Inside_pages">
			<div class="Collection">下午好，欢迎光临锦宏颜！<em></em><a href="#">收藏我们</a></div>
			<div class="hd_top_manu clearfix">
				<ul class="clearfix">
					<li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！
					<if condition="session('id') gt 0">
						<a href="" class="red">{$Think.session.username}</a><a href="{$user}" class="red">[<i class="iconfont icon-yonghu"></i>个人中心]</a>
						<a href="{$loginout}" class="red">[退出]</a>
					<else/> 
						<a href="{$login}" class="red">[请登录]</a> 新用户<a href="{$regist}" class="red">[免费注册]</a>
					</if>
					</li>
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="{$orderlist}">我的订单</a></li> 
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="{$cart}"><i class="iconfont icon-cart2"></i>　购物车</a> </li>
					<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="#">联系我们</a></li>
					<li class="hd_menu_tit list_name" data-addclass="hd_menu_hover"><a href="#" class="hd_menu">客户服务</a>
						<div class="hd_menu_list">
							<ul>
								<li><a href="#">常见问题</a></li>
								<li><a href="#">在线退换货</a></li>
								<li><a href="#">在线投诉</a></li>
								<li><a href="#">配送范围</a></li>　
							</ul>
						</div>	   
					</li>
					<!-- <li class="hd_menu_tit phone_c" data-addclass="hd_menu_hover"><a href="#" class="hd_menu "><em class="iconfont icon-shouji"></em>手机版</a>
						<div class="hd_menu_list erweima">
							<ul>
								<img src=""  width="100px" height="100"/>
							</ul>
						</div>	   
					</li> -->
				</ul>
			</div>
		</div>
	</div>
  <!--样式-->
	<!--顶部样式2-->
	<div id="header "  class="header page_style">
		<div class="logo"><a href="index.html"><img src="STRING_INDEX/images/logo.png" /></a></div>
		<!--结束图层-->
		<div class="Search">
			<p><input name="" type="text"  class="text"/><input name="" type="submit" value="搜 索"  class="Search_btn"/></p>
			<p class="Words"><a href="#">苹果</a><a href="#">香蕉</a><a href="#">菠萝</a><a href="#">西红柿</a><a href="#">橙子</a><a href="#">苹果</a></p>
		</div>
	<!--购物车样式-->
		<div class="hd_Shopping_list" id="Shopping_list">
			<div class="s_cart"><em class="iconfont icon-cart2"></em><a href="#">我的购物车</a> <i class="ci-right">&gt;</i><i class="ci-count" id="shopping-amount">
			<if condition="$num gt 0">
				{$num}
				<else/>
				0
				</if>
			</i></div>
			<if condition="$num gt 0">
			<div class="dorpdown-layer" style="width: 450px;">
				<div class="spacer"></div>
				<!-- <div class="prompt"></div> -->
				<!-- <div class="nogoods"><b></b>购物车中还没有商品，赶紧选购吧！</div> -->
				<ul class="p_s_list">
					<foreach name="buycart" item="vo">	   
						<li>
							<input type="hidden" name="id" value="{$vo.id}">
							<div class="img" style="float: left;"><img src="STRING_PRODUCT/{$vo['photos']}"></div>
							<div class="content" style="float: left;"><p><a href="#">{$vo['merchandise']}</a></p>
							<!-- <p>颜色分类:紫花8255尺码:XL</p> -->
							</div>
							<div class="Operations">
								<p class="Price">￥{$vo['price']}</p>
								<p><a href="{$delete}?id={$vo.id}">删除</a></p>
							</div>
						</li>
					</foreach>
				</ul>		
			<div class="Shopping_style">
				<div class="p-total">共<b>{$num}</b>件商品　共计<strong>￥ {$sumtotal}</strong></div>
				<a href="{$cart}" title="去购物车结算" id="btn-payforgoods" class="Shopping">去购物车结算</a>
			</div>	 
			</div>
			<else/>
			<div class="dorpdown-layer">
				<div class="spacer"></div>
				<!-- <div class="prompt"></div> -->
			<div class="nogoods"><b></b>购物车中还没有商品，赶紧选购吧！</div>
			</div>
			</if>
		</div>
	</div>
	<!--菜单导航样式-->
	<div id="Menu" class="clearfix" >
		<div class="index_style clearfix">
			<div id="allSortOuterbox">
				<div class="t_menu_img"></div>
				<div class="Category"><a href="{$product}"><em></em>所有产品分类</a></div>
				<div class="hd_allsort_out_box_new">
					<!-- 左侧栏目开始 -->
					<ul class="Menu_list">	
						<foreach name="list" item="vo">
							<li class="name"> 
							<div class="Menu_name"><a href="{$product}?pid={$vo['id']}" >{$vo['category']}</a> <span>&lt;</span></div> 
								<div class="link_name">
									<p>
										<foreach name="vo['child']" item="voo">
											<a href="{$product}?pid={$voo['id']}">{$voo['category']}</a>
										</foreach>
									</p>
								</div> 
								<div class="menv_Detail">
									<div class="cat_pannel clearfix">
										<div class="hd_sort_list">
											<foreach name="vo['child']" item="voo">
												<dl class="clearfix" data-tpc="1">
													<dt><a href="{$product}?pid={$voo['id']}">{$voo['category']}<i>></i></a></dt>
													<dd>
														<foreach name="voo['child']" item="vooo">
															<a href="{$product}?pid={$vooo['id']}">{$vooo['category']}</a>
														</foreach>
													</dd> 
												</dl>
											</foreach>
										</div>
										<div class="Brands">
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/34.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/42.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/152.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/156.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/458.jpg" /></a>
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/339.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/245.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/199.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/618.jpg" /></a>	
											<a href="#" class="logo_Brands"><img src="STRING_INDEX/product/logo/644.jpg" /></a>
											<a href="#" class="AD_3"><img src="STRING_INDEX/product/ad/2.jpg" /></a>	
										</div>
									</div> 
									<!-- 品牌 -->
								</div>		 
							</li>
						</foreach> 	
					</ul>	
				</div> 		
			</div>
			<script>$("#allSortOuterbox").slide({ titCell:".Menu_list li",mainCell:".menv_Detail",	});</script>
			<div class="Navigation" id="Navigation" >
				<ul class="Navigation_name">
					<li><a href="{$index}">首页</a></li>
					<foreach name="list" item="vo">
			  		<li><a href="{$product}?pid={$vo['id']}">{$vo['category']}</a></li>
			  		</foreach>
				</ul>			 
			</div>
			<script>$("#Navigation").slide({titCell:".Navigation_name li"});</script>
		      	<a href="#" class="link_bg"><img src="STRING_INDEX/images/link_bg_03.png" /></a>		
		</div>
	</div>
</div>